package com.jbm.onehome.client.remote;

import com.jbm.core.client.MainCallback;
import com.jbm.core.common.MainServer;
import com.jbm.core.iface.IAcross;
import com.jbm.onehome.iface.IorderEntity;

/**
 * Created by Administrator on 2017/7/12.
 */
public class RIorderEntity extends IorderEntity
{
    public RIorderEntity(){}
    public RIorderEntity(IAcross ia)
    {
        super(ia);
    }

    public IAcross orderStatus()
    {

        MainCallback callback = MainServer.getG_server().getM_maincallback();

        if ( callback != null )
        {
            callback.orderStatus((IorderEntity) m_input);
        }
        return new IAcross(200,"orderStatusOK");
    }

}
